package com.ruoyi.leasemanagement.mapper;

import java.util.List;
import com.ruoyi.leasemanagement.domain.Leasemanagement;
import com.ruoyi.leasemanagement.domain.vo.LeasemanagementVo;

/**
 * 租约管理Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-12
 */
public interface LeasemanagementMapper 
{
    /**
     * 查询租约管理
     * 
     * @param leaseId 租约管理主键
     * @return 租约管理
     */
    public Leasemanagement selectLeasemanagementByLeaseId(Long leaseId);

    /**
     * 查询租约管理列表
     * 
     * @param leasemanagement 租约管理
     * @return 租约管理集合
     */
    public List<Leasemanagement> selectLeasemanagementList(Leasemanagement leasemanagement);

    /**
     * 新增租约管理
     * 
     * @param leasemanagement 租约管理
     * @return 结果
     */
    public int insertLeasemanagement(Leasemanagement leasemanagement);

    /**
     * 修改租约管理
     * 
     * @param leasemanagement 租约管理
     * @return 结果
     */
    public int updateLeasemanagement(Leasemanagement leasemanagement);

    /**
     * 删除租约管理
     * 
     * @param leaseId 租约管理主键
     * @return 结果
     */
    public int deleteLeasemanagementByLeaseId(Long leaseId);

    /**
     * 批量删除租约管理
     * 
     * @param leaseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLeasemanagementByLeaseIds(Long[] leaseIds);

    /**
     * 批量删除租约管理
     *
     * @param  vo
     * @return
     */
    public List<LeasemanagementVo> selectLeasemanagementVo(LeasemanagementVo vo) ;

}
